package com.carsystem.service;

import java.util.List;

import org.swiftdao.KeyedCrudDao;
import org.swiftdao.entity.KeyedPersistable;

public interface BaseService<E extends KeyedPersistable<?>> {
	void save(E e);
	void update(E e);
	void delete(long id);
	E find(long id);
	List<E> findAll();
	abstract KeyedCrudDao<E> getDaoApi();
}
